@extends('layout.app')
@section('title','Авторизация')
@section('content')
    <div class="flex items-center justify-center h-screen">
        <form action="{{ route('login.auth') }}" method="POST" class="min-w-[500px] flex flex-col gap-[20px] items-stretch justify-center">
            @csrf

            <div>

                <input type="email" name="email" placeholder="Почта" class="art-input !bg-[#ffffff] !w-full">
                @error('email')
                <div>
                    {{ $message }}
                </div>
                @enderror
            </div>

            <div>
                <input type="password" name="password" placeholder="Пароль"  class="art-input !bg-[#ffffff] !w-full">
                @error('password')
                <div>
                    {{ $message }}
                </div>
                @enderror
            </div>
            <input type="submit" value="Войти"  class="art-input !bg-[#3042D0] !w-full !text-[#ffffff]">
        </form>
    </div>
@endsection
